Skip to content

Conversation

@awilfox
Copy link

@awilfox awilfox commented Dec 1, 2025

This adds support for checking that the sendmail binary chosen is executable when ActionMailer is using the :sendmail delivery_method, and stubs out the check when using the :test delivery_method.


My original goal with this change was to make sure OKComputer was successful during RSpec tests for both RapidRetail and BerkeleyLibrary/framework, of which I am adding OKComputer checks to both and seeing RSpec failures when using the ActionMailer check. I realised :sendmail would be pretty simple to check too, so I added that as well.

This does not add support for :file, but I can add it if desired.

This adds support for checking that the `sendmail` binary chosen is
executable when ActionMailer is using the `:sendmail` delivery_method,
and stubs out the check when using the `:test` delivery_method.
@awilfox awilfox force-pushed the awilfox/add-more-mailer-checks branch from 11d61cf to 9888f9a Compare December 1, 2025 21:49
awilfox added a commit to BerkeleyLibrary/framework that referenced this pull request Dec 1, 2025
* The Alma patron fetch has been converted to a custom check.

* ActionMailer is checked for connectivity.

Note that this won't pass until emmahsax/okcomputer#21 is merged, because
the `:test` delivery method isn't recognised for the ActionMailer check.
Once it is merged, we can update the Gemfile to use the new version and
then the tests will pass.

Ref: AP-508
awilfox added a commit to BerkeleyLibrary/framework that referenced this pull request Dec 1, 2025
* The Alma patron fetch has been converted to a custom check.

* ActionMailer is checked for connectivity.

Note that this won't pass until emmahsax/okcomputer#21 is merged, because
the `:test` delivery method isn't recognised for the ActionMailer check.
Once it is merged, we can update the Gemfile to use the new version and
then the tests will pass.

Ref: AP-508
awilfox added a commit to BerkeleyLibrary/framework that referenced this pull request Dec 2, 2025
* The Alma patron fetch has been converted to a custom check.

* ActionMailer is checked for connectivity.

Note that this won't pass until emmahsax/okcomputer#21 is merged, because
the `:test` delivery method isn't recognised for the ActionMailer check.
Once it is merged, we can update the Gemfile to use the new version and
then the tests will pass.

Ref: AP-508
awilfox added a commit to BerkeleyLibrary/framework that referenced this pull request Dec 2, 2025
* The Alma patron fetch has been converted to a custom check.

* ActionMailer is checked for connectivity.

Note that this won't pass until emmahsax/okcomputer#21 is merged, because
the `:test` delivery method isn't recognised for the ActionMailer check.
Once it is merged, we can update the Gemfile to use the new version and
then the tests will pass.

Ref: AP-508
awilfox added a commit to BerkeleyLibrary/framework that referenced this pull request Dec 3, 2025
* The Alma patron fetch has been converted to a custom check.

* ActionMailer is checked for connectivity.

Note that the test is marked pending until emmahsax/okcomputer#21 is
merged, because the `:test` delivery method isn't recognised for the
ActionMailer check.  Once it is merged, we can update the Gemfile to
use the new version and then the tests will pass.

Ref: AP-508
@emmahsax
Copy link
Owner

emmahsax commented Feb 10, 2026

@awilfox I am having trouble getting this PR to trigger the tests. Can you try making another commit to the PR and maybe I'll be able to trigger them.


EDIT: I managed to trigger them.

@emmahsax emmahsax closed this Feb 10, 2026
@emmahsax emmahsax reopened this Feb 10, 2026
@emmahsax
Copy link
Owner

@awilfox I have addressed the tests in my latest PR that I merged. Can you sync your fork with main of this repository and recommit those merges? That should resolve the tests on your PR.

@emmahsax emmahsax self-requested a review February 11, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants